package com.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * UsersVO entity.
 * 
 * @author MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
public class Users implements java.io.Serializable {

	// Fields

	private Long usersId;
	private String logonid;
	private String logonpassword;
	private String usertype;
	private String username;
	private String sessionid;
	private Integer status;
	private Date registration;
	private Long bonuspoint;
	private String memberclass;
	@SuppressWarnings("unchecked")
	private Set orderses = new HashSet(0);
	@SuppressWarnings("unchecked")
	private Set wishlists = new HashSet(0);
	@SuppressWarnings("unchecked")
	private Set bonuspoints = new HashSet(0);
	@SuppressWarnings("unchecked")
	private Set productcomments = new HashSet(0);
	@SuppressWarnings("unchecked")
	private Set addresses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Users() {
	}

	/** minimal constructor */
	public Users(String logonid, String logonpassword, String usertype,
			String username, String sessionid, Integer status,
			Date registration, Long bonuspoint, String memberclass) {
		this.logonid = logonid;
		this.logonpassword = logonpassword;
		this.usertype = usertype;
		this.username = username;
		this.sessionid = sessionid;
		this.status = status;
		this.registration = registration;
		this.bonuspoint = bonuspoint;
		this.memberclass = memberclass;
	}

	/** full constructor */
	@SuppressWarnings("unchecked")
	public Users(String logonid, String logonpassword, String usertype,
			String username, String sessionid, Integer status,
			Date registration, Long bonuspoint, String memberclass,
			Set orderses, Set wishlists, Set bonuspoints, Set productcomments,
			Set addresses) {
		this.logonid = logonid;
		this.logonpassword = logonpassword;
		this.usertype = usertype;
		this.username = username;
		this.sessionid = sessionid;
		this.status = status;
		this.registration = registration;
		this.bonuspoint = bonuspoint;
		this.memberclass = memberclass;
		this.orderses = orderses;
		this.wishlists = wishlists;
		this.bonuspoints = bonuspoints;
		this.productcomments = productcomments;
		this.addresses = addresses;
	}

	// Property accessors

	public Long getUsersId() {
		return this.usersId;
	}

	public void setUsersId(Long usersId) {
		this.usersId = usersId;
	}

	public String getLogonid() {
		return this.logonid;
	}

	public void setLogonid(String logonid) {
		this.logonid = logonid;
	}

	public String getLogonpassword() {
		return this.logonpassword;
	}

	public void setLogonpassword(String logonpassword) {
		this.logonpassword = logonpassword;
	}

	public String getUsertype() {
		return this.usertype;
	}

	public void setUsertype(String usertype) {
		this.usertype = usertype;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getSessionid() {
		return this.sessionid;
	}

	public void setSessionid(String sessionid) {
		this.sessionid = sessionid;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getRegistration() {
		return this.registration;
	}

	public void setRegistration(Date registration) {
		this.registration = registration;
	}

	public Long getBonuspoint() {
		return this.bonuspoint;
	}

	public void setBonuspoint(Long bonuspoint) {
		this.bonuspoint = bonuspoint;
	}

	public String getMemberclass() {
		return this.memberclass;
	}

	public void setMemberclass(String memberclass) {
		this.memberclass = memberclass;
	}

	@SuppressWarnings("unchecked")
	public Set getOrderses() {
		return this.orderses;
	}

	@SuppressWarnings("unchecked")
	public void setOrderses(Set orderses) {
		this.orderses = orderses;
	}

	@SuppressWarnings("unchecked")
	public Set getWishlists() {
		return this.wishlists;
	}

	@SuppressWarnings("unchecked")
	public void setWishlists(Set wishlists) {
		this.wishlists = wishlists;
	}

	@SuppressWarnings("unchecked")
	public Set getBonuspoints() {
		return this.bonuspoints;
	}

	@SuppressWarnings("unchecked")
	public void setBonuspoints(Set bonuspoints) {
		this.bonuspoints = bonuspoints;
	}

	@SuppressWarnings("unchecked")
	public Set getProductcomments() {
		return this.productcomments;
	}

	@SuppressWarnings("unchecked")
	public void setProductcomments(Set productcomments) {
		this.productcomments = productcomments;
	}

	@SuppressWarnings("unchecked")
	public Set getAddresses() {
		return this.addresses;
	}

	@SuppressWarnings("unchecked")
	public void setAddresses(Set addresses) {
		this.addresses = addresses;
	}

}